import { GSprite } from "../../../../../com/mui/controls/GSprite";
import { ObjCreate } from "../../common/ObjCreate";
import { ImagesConst } from "../../../resource/ImagesConst";
import { GlobalStyle } from "../../../../common/global/GlobalStyle";
import { Language } from "../../../../../extend/language/Language";
import { DisplayUtil } from "../../../../common/DisplayUtil";
import { ScaleBitmap } from "../../../../../com/mui/display/ScaleBitmap";
//class CrossGuildWarChooseForTopLiveBg
    
    export  class CrossGuildWarChooseForTopLiveBg extends GSprite
    {
        constructor()
        {
            super();
            return;
        }

        protected /* override */ createDisposedChildrenImpl(): void
        {
            super.createDisposedChildrenImpl();
            ObjCreate.createBg(0, 0, 198, 22, this, ImagesConst.RbListHeader);
            var loc1=GlobalStyle.textFormat2;
            ObjCreate.createGTextField(Language.getString(57023), 12, 7, 100, 20, this, loc1);
            ObjCreate.createGTextField(Language.getString(60868), 150, 7, 100, 20, this, loc1);
            this._line = ObjCreate.createBg(195, 0, 1, 260, this, ImagesConst.VSpliteLine);
            return;
        }

        public showHide(arg1: Boolean): void
        {
            if (arg1) 
            {
                this.addChild(this._line);
            }
            else 
            {
                DisplayUtil.removeMe(this._line);
            }
            return;
        }

        /* internal */ /* var */_line: ScaleBitmap;
    }
